<?php
use x_mier\Curl\CurlException;
use x_mier\Bt\Api;

require '../vendor/autoload.php';

$api = new Api();
try {
    var_dump($api->getLogs()->page(1)->limit(10)->order('id desc')->toArray());
} catch (CurlException $e) {
    var_dump($e->getMessage());
}
